#include"../include/tidarr.h"

int init_tidarr(tidarr_t *tidarr, int num) {
    tidarr->workNum = num;
    tidarr->threadtid = (pthread_t *)calloc(num, sizeof(pthread_t));
    return 0;
}